<!DOCTYPE >
<html lang="ko">
<head>
<meta charset="UTF-8" />
<title>SNTV-무료TV다시보기</title>
<meta name="author" content="TACO" />
<meta name="format-detection" content="telephone=no" />
<meta name="keywords" content="tv,kbs,mbc,replay" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, target-densitydpi=medium-dpi" />
<link rel="apple-touch-icon" href="icon@2x.png"/>
<link rel="stylesheet" href="css/mobile.css" />
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<style>
	.box{display: none}
</style>
<script language="javascript">
<!--
	var $list;
 	
 	$(document).ready(function(){
		$('.open').click(function(){
			$('.box').animate({opacity:'toggle'},'fast');
		})
		
		List();
	});
	
	function List()
	{
		var response = "";
		var json_url = "http://picasaweb.google.com/data/feed/api/user/sntvreplay@gmail.com/albumid/5783839895028109377?alt=jsonc&kind=photo&max-results=100&orderby=published";
		
		$list = $("#list");

		$.getJSON(json_url + "&start-index=1", function(data)
		{
			$.each(data.data.items, function(i, item) 
			{  
				
				var program = item.description.split('@');
				
				response += '<li>';			
				response += '<a href="sub.html#' + item.description + '">';
				response += '<img src="' + item.media.image.url + '" alt="썸네일">';
				response += '<h3>' + program[1] + '</h3>';
				response += '<span>' + program[2] + '</span> ';
				response += '<span>' + program[3] + '</span>';
				response += '</a>';
				response += '</li>';

    		});
    		
			$(response).appendTo($list);
		})
		.complete(function() 
		{
			$('#list').focus();
		});
	}
-->
</script>
</head>
<body>
<div id="wrap">
	<header>
		<a href="index.html" class="btn back">홈으로</a>
		<h1>엔터테인먼트</h1>
		<a class="btn menutop open">menu</a>
	</header>
	<nav class="menu box" id="menu">
		<ul>
			<li><a href="entertainment.html">엔터테인먼트</a></li>
			<li><a href="drama.html">드라마</a></li>
			<li><a href="animation.html">애니메이션</a></li>
			<li><a href="documentary.html">다큐멘터리</a></li>
		</ul>
	</nav>
	<ul class="list" id="list">
	</ul>
</div>
</body>
</html>